package com.zmt.content.service;

import com.zmt.content.dto.CoursePreviewDto;
import com.zmt.content.po.CoursePublish;

import java.io.File;

public interface CoursePublishService {
    CoursePreviewDto findCoursePreviewInfo(Long courseId);
    void commitAudit(Long companyId ,Long courseId);
    void coursePublish(Long companyId ,Long courseId);
    File generateCourseHtml(Long courseId);
    void uploadCourseHtml(Long courseId,File file);

    void saveRedis(Long courseId);

    CoursePublish getCoursePublic(Long courseId);
}
